package com.huc.design.behavior.strategy.casedemo;

/**
 * @author huc
 * @version 1.0
 * @note
 * @date 2021/10/7 15:29
 */
public class PayTest {
    public static void main(String[] args) {
        Context context;
        context = new Context(new AliPayStategyImpl());
        context.pay("张三", "赵信", 10);
        context = new Context(new WxPayStategyImpl());
        context.pay("赵信", "张三", 10);


    }
}
